#ifndef MACRODEF_H
#define MACRODEF_H

const int SCREEN_WIDTH = 640;
const int SCREEN_HEIGHT = 400;
const int SIZEX = 40;
const int SIZEY = 40;
const int SCENE_VX = 10;

#define FPS 20

#define BIRDTYPE_NUM 6
#define WT_BIRD_ID 0
#define BK_BIRD_ID 1
#define BL_BIRD_ID 2
#define RD_BIRD_ID 3
#define YL_BIRD_ID 4
#define GN_BIRD_ID 5

#define ELETYPE_NUM 10

#define BG_NUM 4
#define BGTYPE_NUM 1
const int LEVEL_WIDTH = SCREEN_WIDTH * BG_NUM;
const int LEVEL_HEIGHT = SCREEN_HEIGHT;

#define EGG_LIMIT 20

typedef int(*intXY)[LEVEL_WIDTH / SIZEX];

#endif